package com.cdp.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdp.common.core.domain.entity.SysAgentType;
import com.cdp.system.dto.SandFinenessDTO;
import com.cdp.system.mapper.SysAgentTypeMapper;
import com.cdp.system.service.SysAgentTypeService;
import com.cdp.system.vo.AgentTypeVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 服务实现类
 */
@Service
public class SysAgentTypeServiceImpl extends ServiceImpl<SysAgentTypeMapper, SysAgentType> implements SysAgentTypeService {


    @Autowired
    private SysAgentTypeMapper sysAgentTypeMapper;

    /**
     * 增效剂类型迷糊查询
     * @param sandFinenessDTO
     * @return
     */
    @Override
    public List<AgentTypeVO> listMistedAgentType(SandFinenessDTO sandFinenessDTO) {

        List<AgentTypeVO> sandFinenessDTOS = sysAgentTypeMapper.listMistedAgentType(sandFinenessDTO);

        return sandFinenessDTOS;
    }
}
